<script lang="ts" setup>
import { ArrowDown, Search } from '@element-plus/icons-vue'
</script>

<template>
  <div class="header" >
    <div class="left-side" >
      <img 
        class="head-img"
        src="https://element-plus.org/images/element-plus-logo.svg" 
        alt="head-img"
      />
      <span class="user">
        Jobify GmbH
        <el-icon class="arrow">
          <arrow-down />
        </el-icon>
      </span>
      <el-input
        class="search"
        style="width: 240px"
        placeholder="Search"
        :prefix-icon="Search"
      />
    </div>
    <div class="right-side" >
      <div class="bell" >
        <el-icon><Bell /></el-icon>
        <span>12</span>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss" >
@media (max-width:530px) {
  .header{
    .left-side{
      .search{
        display: none;
      }
    }
  }
}
.header{
  font-size: 0.9rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .left-side{
    .head-img{
      height: 2rem;
      width: 2rem;
    }
    .user{
      color: #c4cacf;
    }
  }
  .right-side{
      .bell{
        font-size: .9rem;
        padding: .5rem 1rem;
        border-radius: .5rem;
        background: #283d4c;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
}
</style>
